<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Cache-Control" content="no-Cache" />
	<meta name="MobileOptimized" content="320"/>
	<!--<meta name="viewport" content="width=device-width; initial-scale=1.0; minimum-scale=1.0; maximum-scale=2.0">-->
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1;"/>
	<title>贵阳旅游掌上评</title>
	<%@include file="../css.jsp" %>
	<script type="text/javascript" src="js/jquery-1.6.1.min.js"></script>
<script type="text/javascript">
	//立即投票
	function voteNow(voteId) {
		window.location.href="pItem.htm?voteId="+voteId;
	}

	
</script>
</head>
<body>
	<div id="vote_main">
		<%@include file="../top.jsp"%>
	<div id="mainmenu" class="crumbs">
		<span>
			<%@include file="../menu.jsp"%>
			&gt; <a>投票</a>
		</span>
	</div>
		<div class="vote_div">
			<c:forEach var="vote" items="${pageModel.list }" varStatus="status">
				<div style="width: 300px;margin: 20px auto;">
					<div class="vote_title_a">
						<div class="vote_title">${vote.title}</div>
						<div class="vote_body">${vote.body}</div>
					</div>
					<c:if test="${status.count<=4 }">
						<div class="vote_button" style="background-image: url('images/voteBtn${status.count}.png');g" onclick="voteNow('${vote.identifier}');"></div>
					</c:if>
					<c:if test="${status.count>4 && status.count%4>0 }">
						<div class="vote_button" style="background-image: url('images/voteBtn${status.count%4}.png');g" onclick="voteNow('${vote.identifier}');"></div>
					</c:if>
					<c:if test="${status.count>4 && status.count%4==0 }">
						<div class="vote_button" style="background-image: url('images/voteBtn4.png');g" onclick="voteNow('${vote.identifier}');"></div>
					</c:if>
					<div style="clear: both;"></div>
					<hr>
				</div>
			</c:forEach>
		</div>
		<%@include file="../page.jsp"%>
		<%@include file="../footer.jsp"%>
		<div id="footer">
		    <div align="left">
		    	<%@include file="../menu.jsp"%>&gt; <a>投票</a>
			</div>
		    <div><!--<a href="http://fcity.tdgz.com.cn/index.php?module=Page&func=Recommend">推荐</a> |--> <a href="http://fcity.tdgz.com.cn/index.php?module=Page&func=Option">留言</a> | <a href="http://fcity.tdgz.com.cn/index.php?module=Page&func=Help">帮助</a> | <a href="http://fcity.tdgz.com.cn/index.php?module=Page&func=Help&op=Bookmark">存书签</a> | <a href="http://fcity.tdgz.com.cn:9004/">客户端下载</a><br />贵州无线城市[黔B2-20010020-5]
			</div>
		</div>
	</div>
</body>
</html>